/**
 * 
 */
package cn.edu.cdtu.healthserver.service.impl;

import cn.edu.cdtu.healthserver.dao.HealthFileBodyDao;
import cn.edu.cdtu.healthserver.dao.HealthFileMentalDao;
import cn.edu.cdtu.healthserver.dao.impl.HealthFileBodyDaoImplementation;
import cn.edu.cdtu.healthserver.dao.impl.HealthFileMentalDaoImplementation;
import cn.edu.cdtu.healthserver.domain.HealthFileBody;
import cn.edu.cdtu.healthserver.domain.HealthFileMental;
import cn.edu.cdtu.healthserver.domain.UserInformation;
import cn.edu.cdtu.healthserver.service.HealthFileService;

/**
 * @author 
 *
 */
public class HealthFileServiceImplementation implements HealthFileService {

	HealthFileBodyDao fileBodyDao = new HealthFileBodyDaoImplementation();

	HealthFileMentalDao fileMentalDao = new HealthFileMentalDaoImplementation();
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.edu.scu.healthserver.service.HealthFileService#getHealthFileBody(cn
	 * .edu.scu.healthserver.domain.UserInformation)
	 */
	@Override
	public HealthFileBody getHealthFileBody(UserInformation user) {
		// TODO Auto-generated method stub
		return fileBodyDao.getHealthFileBody(user);
	}
	
	
	/* (non-Javadoc)
	 * @see cn.edu.scu.healthserver.service.HealthFileService#getHealthFileMental(cn.edu.scu.healthserver.domain.UserInformation)
	 */
	@Override
	public HealthFileMental getHealthFileMental(UserInformation user) {
		// TODO Auto-generated method stub
		return fileMentalDao.getHealthFileMental(user);
	}

}
